import React from 'react';
import HOLDER_IMG from '../../static/loading.jpeg';
import './style.less';

const ImgHolder = ({src}) => (
  <div className="block-holder" style={{background: `url(${HOLDER_IMG}) no-repeat center center`}}>
    <img alt="img" className="block-img" src={src}/>
  </div>
)

export default ImgHolder;
